package com.example.jack.community.common.utils;

import android.content.Context;
import android.support.annotation.Nullable;
import android.support.v7.widget.RecyclerView;
import android.util.AttributeSet;

/**
 * Created by vveng on 2017/11/2 08: 33
 *
 * @mail: vvengStruggle@163.com
 */

public class PopularRecyclerView extends RecyclerView {


    public PopularRecyclerView(Context context) {
        super(context);
    }

    public PopularRecyclerView(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    public PopularRecyclerView(Context context, @Nullable AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
    }
//    @Override
//    protected void onMeasure(int widthSpec, int heightSpec) {
//        int expandSpec = MeasureSpec.makeMeasureSpec(Integer.MAX_VALUE >> 2, MeasureSpec.AT_MOST);
//        super.onMeasure(expandSpec, heightSpec);
//    }
}
